<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.io.DotTerminatedMessageWriter&lt;T&gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.io.DotTerminatedMessageWriter&lt;T&gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>DotTerminatedMessageWriter是一个用于向服务器写入消息的类，这些消息以单个点后跟&lt;CR&gt;&lt;LF&gt;序列结尾  
 <a href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.io.DotTerminatedMessageWriter&lt;T&gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1f093125471bc096e7168a88f1daa2c5"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a1f093125471bc096e7168a88f1daa2c5">init</a> (writer: StringWriter&lt;T&gt;)</td></tr>
<tr class="memdesc:a1f093125471bc096e7168a88f1daa2c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">包装一个输出目标来创建一个DotTerminatedMessageWriter实例  <br /></td></tr>
<tr class="separator:a1f093125471bc096e7168a88f1daa2c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9b4e43b7b082df3e11138c2b77b2229"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#ae9b4e43b7b082df3e11138c2b77b2229">flush</a> ()</td></tr>
<tr class="memdesc:ae9b4e43b7b082df3e11138c2b77b2229"><td class="mdescLeft">&#160;</td><td class="mdescRight">清空缓存区写入到目标  <br /></td></tr>
<tr class="separator:ae9b4e43b7b082df3e11138c2b77b2229"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1fcc68a591f30b287b748ddece6b060"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#ad1fcc68a591f30b287b748ddece6b060">close</a> ()</td></tr>
<tr class="memdesc:ad1fcc68a591f30b287b748ddece6b060"><td class="mdescLeft">&#160;</td><td class="mdescRight">结束写消息，清空缓存区写入到目标，但并不会实际关闭底层流，底层流仍然可以用于与服务器通信。  <br /></td></tr>
<tr class="separator:ad1fcc68a591f30b287b748ddece6b060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f5cf26a6b43a9d8612dcbbd1951dc98"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a2f5cf26a6b43a9d8612dcbbd1951dc98">isClosed</a> ()</td></tr>
<tr class="separator:a2f5cf26a6b43a9d8612dcbbd1951dc98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa670cc6c6f0d1bb4ad9931c98c72c3e2"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#aa670cc6c6f0d1bb4ad9931c98c72c3e2">write</a> (ch: Rune): Unit</td></tr>
<tr class="memdesc:aa670cc6c6f0d1bb4ad9931c98c72c3e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">写入一个字符到输出目标  <br /></td></tr>
<tr class="separator:aa670cc6c6f0d1bb4ad9931c98c72c3e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafd63a551fe10d41995975711c563add"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#aafd63a551fe10d41995975711c563add">write</a> (s: String): Unit</td></tr>
<tr class="memdesc:aafd63a551fe10d41995975711c563add"><td class="mdescLeft">&#160;</td><td class="mdescRight">写入一个字符串到输出目标  <br /></td></tr>
<tr class="separator:aafd63a551fe10d41995975711c563add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a828269f190c8c0a32c09a38bec00bf74"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a828269f190c8c0a32c09a38bec00bf74">write</a> (s: ToString): Unit</td></tr>
<tr class="memdesc:a828269f190c8c0a32c09a38bec00bf74"><td class="mdescLeft">&#160;</td><td class="mdescRight">写入一个可以转字符串的类型到输出目标  <br /></td></tr>
<tr class="separator:a828269f190c8c0a32c09a38bec00bf74"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a8aae27bd33d7470abd174aeae796e5a6"><td class="memItemLeft" align="right" valign="top">private prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a8aae27bd33d7470abd174aeae796e5a6">writer</a> : StringWriter&lt;T&gt;</td></tr>
<tr class="separator:a8aae27bd33d7470abd174aeae796e5a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a1fc5fa2aaad8f80bce5a692d4e1dac32"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a1fc5fa2aaad8f80bce5a692d4e1dac32">static let NOTHING_SPECIAL_STATE</a> = 0</td></tr>
<tr class="separator:a1fc5fa2aaad8f80bce5a692d4e1dac32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76986a90bdfb617cb5dc8fbde749c1ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a76986a90bdfb617cb5dc8fbde749c1ae">static let LAST_WAS_CR_STATE</a> = 1</td></tr>
<tr class="separator:a76986a90bdfb617cb5dc8fbde749c1ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61610cd4b265500c4a750751b97a30ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a61610cd4b265500c4a750751b97a30ef">static let LAST_WAS_NL_STATE</a> = 2</td></tr>
<tr class="separator:a61610cd4b265500c4a750751b97a30ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a872e384fbb6090cb3d2856e2ef1b7643"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a872e384fbb6090cb3d2856e2ef1b7643">let lock</a> = ReentrantMutex()</td></tr>
<tr class="separator:a872e384fbb6090cb3d2856e2ef1b7643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a496704d4de90377b315662f01b5ef0f2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a496704d4de90377b315662f01b5ef0f2">var state</a> : Int64 = NOTHING_SPECIAL_STATE</td></tr>
<tr class="separator:a496704d4de90377b315662f01b5ef0f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e9a37ba715e8f7a8d3a9e488b9a65b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a5e9a37ba715e8f7a8d3a9e488b9a65b1">let _writer</a> : StringWriter&lt;T&gt;</td></tr>
<tr class="separator:a5e9a37ba715e8f7a8d3a9e488b9a65b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a507fb3d69efe084262c7b7ef099e8772"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a507fb3d69efe084262c7b7ef099e8772">var closed</a> = false</td></tr>
<tr class="separator:a507fb3d69efe084262c7b7ef099e8772"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>DotTerminatedMessageWriter是一个用于向服务器写入消息的类，这些消息以单个点后跟&lt;CR&gt;&lt;LF&gt;序列结尾 </p>
<p>在不表示消息结束但以点开头的行的开头出现两个点。各种互联网协议，如NNTP和POP3，都会产生这种类型的消息。<br  />
 这个类处理行开头的点为两个点，将换行转换为NETASCII换行，并在关闭时发送最后的消息终止符点和NETASCII换行序列。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a1f093125471bc096e7168a88f1daa2c5" name="a1f093125471bc096e7168a88f1daa2c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f093125471bc096e7168a88f1daa2c5">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.init </td>
          <td>(</td>
          <td class="paramname"><em><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html#a8aae27bd33d7470abd174aeae796e5a6">writer</a></em>:&#160;</td>
          <td class="paramtype">StringWriter&lt;T&gt;</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>包装一个输出目标来创建一个DotTerminatedMessageWriter实例 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">writer</td><td>StringWriter输出目标 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ad1fcc68a591f30b287b748ddece6b060" name="ad1fcc68a591f30b287b748ddece6b060"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1fcc68a591f30b287b748ddece6b060">&#9670;&#160;</a></span>close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.close </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>结束写消息，清空缓存区写入到目标，但并不会实际关闭底层流，底层流仍然可以用于与服务器通信。 </p>

</div>
</div>
<a id="ae9b4e43b7b082df3e11138c2b77b2229" name="ae9b4e43b7b082df3e11138c2b77b2229"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9b4e43b7b082df3e11138c2b77b2229">&#9670;&#160;</a></span>flush()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.flush </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>清空缓存区写入到目标 </p>

</div>
</div>
<a id="a2f5cf26a6b43a9d8612dcbbd1951dc98" name="a2f5cf26a6b43a9d8612dcbbd1951dc98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f5cf26a6b43a9d8612dcbbd1951dc98">&#9670;&#160;</a></span>isClosed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.isClosed </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa670cc6c6f0d1bb4ad9931c98c72c3e2" name="aa670cc6c6f0d1bb4ad9931c98c72c3e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa670cc6c6f0d1bb4ad9931c98c72c3e2">&#9670;&#160;</a></span>write() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.write </td>
          <td>(</td>
          <td class="paramname"><em>ch</em>:&#160;</td>
          <td class="paramtype">Rune</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>写入一个字符到输出目标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>要写入的字符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aafd63a551fe10d41995975711c563add" name="aafd63a551fe10d41995975711c563add"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafd63a551fe10d41995975711c563add">&#9670;&#160;</a></span>write() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.write </td>
          <td>(</td>
          <td class="paramname"><em>s</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>写入一个字符串到输出目标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>要写入的字符串 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a828269f190c8c0a32c09a38bec00bf74" name="a828269f190c8c0a32c09a38bec00bf74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a828269f190c8c0a32c09a38bec00bf74">&#9670;&#160;</a></span>write() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.write </td>
          <td>(</td>
          <td class="paramname"><em>s</em>:&#160;</td>
          <td class="paramtype">ToString</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>写入一个可以转字符串的类型到输出目标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>要写入的内容 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8aae27bd33d7470abd174aeae796e5a6" name="a8aae27bd33d7470abd174aeae796e5a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8aae27bd33d7470abd174aeae796e5a6">&#9670;&#160;</a></span>writer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private prop <a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.writer</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a5e9a37ba715e8f7a8d3a9e488b9a65b1" name="a5e9a37ba715e8f7a8d3a9e488b9a65b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e9a37ba715e8f7a8d3a9e488b9a65b1">&#9670;&#160;</a></span>let _writer</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.let _writer : StringWriter&lt;T&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a872e384fbb6090cb3d2856e2ef1b7643" name="a872e384fbb6090cb3d2856e2ef1b7643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a872e384fbb6090cb3d2856e2ef1b7643">&#9670;&#160;</a></span>let lock</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.let lock = ReentrantMutex()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a76986a90bdfb617cb5dc8fbde749c1ae" name="a76986a90bdfb617cb5dc8fbde749c1ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76986a90bdfb617cb5dc8fbde749c1ae">&#9670;&#160;</a></span>static let LAST_WAS_CR_STATE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.static let LAST_WAS_CR_STATE = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a61610cd4b265500c4a750751b97a30ef" name="a61610cd4b265500c4a750751b97a30ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61610cd4b265500c4a750751b97a30ef">&#9670;&#160;</a></span>static let LAST_WAS_NL_STATE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.static let LAST_WAS_NL_STATE = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1fc5fa2aaad8f80bce5a692d4e1dac32" name="a1fc5fa2aaad8f80bce5a692d4e1dac32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fc5fa2aaad8f80bce5a692d4e1dac32">&#9670;&#160;</a></span>static let NOTHING_SPECIAL_STATE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.static let NOTHING_SPECIAL_STATE = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a507fb3d69efe084262c7b7ef099e8772" name="a507fb3d69efe084262c7b7ef099e8772"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a507fb3d69efe084262c7b7ef099e8772">&#9670;&#160;</a></span>var closed</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.var closed = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a496704d4de90377b315662f01b5ef0f2" name="a496704d4de90377b315662f01b5ef0f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a496704d4de90377b315662f01b5ef0f2">&#9670;&#160;</a></span>var state</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">commonsNet.io.DotTerminatedMessageWriter</a>&lt;T&gt;.var state : Int64 = NOTHING_SPECIAL_STATE</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/io/<a class="el" href="dot__terminated__message__writer_8cj.html">dot_terminated_message_writer.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1io.html">io</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">DotTerminatedMessageWriter</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
